<?php

/**
 * 后台首页控制器
 * @author:Cloud
 * @copyright:TcitCMS
 * @since:2014-05-12
 */

namespace Home\Controller;

class AboutController extends CommonController
{

    function index()
    {
        $model = new \Common\Model\NewsModel();
        $id = I('get.id', '15', 'intval');
        $data = $model->find($id);
        $this->assign('data', $data);
        $this->display();
    }

}

?>